package com.ruoyi.classai.service;

import com.ruoyi.classai.domain.PxTrainingTeacher;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 培训老师关联Service接口
 * 
 * @author lcj
 * @date 2025-06-19
 */
public interface IPxTrainingTeacherService extends IService<PxTrainingTeacher> {

    /**
     * 添加分数
     * @param trainingId 培训id
     * @param teacherId 老师id
     * @param courseScore 课程分数
     */
    void addScore(String trainingId,String teacherId,Integer courseScore);

    /**
     * 统计我的分数
     * @param teacherId 老师id
     * @return 分数
     */
    Integer getMyScore(String teacherId);
}
